import VueRouter from 'vue-router' //引入路由文件
import treeNavigation from './components/treeNavigation.vue' //导航树
import group from './components/group.vue' //群组
import communication from './components/communication.vue' //沟通
import addressList from './components/addressList.vue' //通讯录

var router = new VueRouter({
    routes:[
            {path:'/',redirect:'/addressList'},
            {path:'/addressList',component:addressList},
            {path:'/group',component:group},
            {path:'/communication',component:communication},
    ],
    linkActiveClass:'mui-active'
})
export default router  //把router暴漏出来 还可以用export 单个暴漏出去
